Skip to content

GROOVY-8707: SC: use makeSetProperty for compound assignment of property#1167

Closed
eric-milles wants to merge 1 commit intomasterfrom
GROOVY-8707
Closed

GROOVY-8707: SC: use makeSetProperty for compound assignment of property#1167
eric-milles wants to merge 1 commit intomasterfrom
GROOVY-8707

Conversation

@eric-milles
Copy link
Copy Markdown
Member

@eric-milles eric-milles commented Feb 13, 2020

https://issues.apache.org/jira/browse/GROOVY-8707

StaticTypesBinaryExpressionMultiTypeDispatcher#evaluateEqual already does this for plain assignment

This replaces "invokestatic org.codehaus.groovy.runtime.ScriptBytecodeAdapter.setGroovyObjectProperty(java.lang.Object, java.lang.Class, groovy.lang.GroovyObject, java.lang.String)" with "invokevirtual ClassName.setPropName(int)".

StaticTypesBinaryExpressionMultiTypeDispatcher#evaluateEqual does this
@asfgit asfgit closed this in 77a11e8 Feb 14, 2020
asfgit pushed a commit that referenced this pull request Feb 14, 2020
…rty (closes #1167)

StaticTypesBinaryExpressionMultiTypeDispatcher#evaluateEqual does this
@paulk-asert
Copy link
Copy Markdown
Contributor

Merged, thanks.

@eric-milles eric-milles deleted the GROOVY-8707 branch March 16, 2020 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants